package com.bh.shipment.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.shipment.domain.JcShipmentTrack;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 运单追踪Mapper接口
 *
 * @author slx
 * @date 2023-04-22
 */
@Mapper
public interface JcShipmentTrackMapper extends RootMapper<JcShipmentTrack> {

    /**
     * 查询运单追踪列表
     *
     * @param jcShipmentTrack 运单追踪
     * @return 运单追踪集合
     */
    public List<JcShipmentTrack> selectJcShipmentTrackList(JcShipmentTrack jcShipmentTrack);

    /**
     * 删除运单追踪
     * @param jcShipmentId
     * @return
     */
    public int deleteByShipmentId(@Param("jcShipmentId") Long jcShipmentId);

    /**
     * 查询运单追踪列表
     * @param jcShipmentId
     * @return
     */
    public List<JcShipmentTrack> selectJcShipmentTrackListByShipmentId(@Param("jcShipmentId") Long jcShipmentId);
}
